@charset "UTF-8";

/* 上传照片css*/
.file {
	position: relative;
	height: 40px;
	line-height: 40px;
}

.file label {
	display: inline-block;
}

.userdefined-file {
	position: absolute;
	top: 0;
	left: 0px;
	z-index: 2;
	width: 200px;
	height: 30px;
	line-height: 30px;
	font-size: 0;  /*应对子元素为 inline-block 引起的外边距*/
}

.userdefined-file input[type="text"] {
	display: inline-block;
	vertical-align: middle;
	padding-right: 14px;
	padding-left: 5px;
	margin-top: 8px;
	width: 150px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	height: 30px;
	line-height: 30px;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.userdefined-file button {
	display: inline-block;
	vertical-align: middle;
	width: 50px;
	text-align: center;
	height: 30px;
	line-height: 30px;
	font-size: 14px;
	background-color: #f54;
	border: none;
	color: #fff;
	cursor: pointer;
}

.file input[type="file"] {
	position: absolute;
	top: 8px;
	left: 0px;
	z-index: 3;
	opacity: 0;
	width: 200px;
	height: 30px;
	line-height: 30px;
	cursor: pointer;
}

/*移动设备*/
/* min-width & max-width 兼容移动设备 */
@media screen and (min-width: 220px) and (max-width: 960px) { 
	#navbardiv {
 		position: fixed;
		right: 0;
		left: 0;
		z-index: 1030;
		margin-bottom: 0;			
		top: 0px;
	} 
	#details  {
		width:90%;
		margin: 50px auto; 
	}	
}

/* min-width兼容移动设备 */
@media screen and (min-width: 960px) { 		
	#details {
		width:75%;
		margin: 20px auto; 
	}	
}